package com.robot.common.enums;

public enum DatasourceTypeEnum implements  BaseEnum{
    /**
     *
     */
    KNOWLEDGE(1, "知识库"),
    WEB_URL_PARSER(2, "网页解析"),
    FILE_PARSER(3,"文件解析");

    private Integer value;
    private String descs;

    DatasourceTypeEnum(Integer value, String descs) {
        this.value = value;
        this.descs = descs;
    }


    @Override
    public Integer getCode() {
        return value;
    }

    @Override
    public String getMessage() {
        return descs;
    }


}
